{$wrapper_prefix|default}

<!-- Datepicker -->
<link href="{$_STATIC_URL}/scripts/datepicker/css/datepicker3.css" rel="stylesheet" type="text/css"/>
<script src="{$_STATIC_URL}/scripts/datepicker/js/bootstrap-datepicker.js"></script>
<script src="{$_STATIC_URL}/scripts/datepicker/js/locales/bootstrap-datepicker.zh-CN.time.js" charset="UTF-8"></script>

<link href="{$_STATIC_URL}/archive/admin/css/content.index.css" rel="stylesheet" type="text/css"/>
<script src="{$_STATIC_URL}/archive/admin/js/content.index.js"></script>

<section class="hbox stretch">
    <aside>
        <section class="vbox">
            <header class="header bg-white b-b clearfix">
                <div class="row m-t-sm">
                    <div class="col-sm-2 m-b-xs">
                        <div class="btn-group">
                            <button type="button" class="btn btn-sm btn-default action-refresh" title="刷新"><i class="fa fa-refresh"></i></button>
                        </div>
                        <a href="/archiveadmin/content/add" class="btn btn-sm btn-default" target="_blank"><i class="fa fa-plus"></i> 添加</a>
                    </div>
                    
                    <div class="col-sm-7 m-b-xs text-right p-right-0">
                        <form class="form-inline">
                            <div class="form-group">
                                <select class="form-control input-sm" name="dot">
                                    <option value="0">打点类型</option>
                                    <option value="video">录像打点</option>
                                    <option value="audio">录音打点</option>
                                </select>
                            </div>
                            <div class="form-group">
                                <select class="form-control input-sm" name="category_name">
                                    <option value="0">案件类型</option>
                                    {foreach from=$categories item=v}
                                    <option value="{$v.title}">{$v.str_padding}{$v.title}</option>
                                    {/foreach}
                                </select>
                            </div>
                            <div class="form-group">
                                <select class="form-control input-sm" name="department_name">
                                    <option value="0">承办部门</option>
                                    {foreach from=$departments item=v}
                                    <option value="{$v.department_name}">{$v.department_name}</option>
                                    {/foreach}
                                </select>
                            </div>
                            
                            <div class="form-group">
                                <input id="time_start" name="time_start" class="form-control input-sm datepicker-input" type="text" size="10" 
                                        data-date-format="yyyy-mm-dd" value="" placeholder="开始时间" /> - 
                            </div>
                            <div class="form-group">
                                <input id="time_end" name="time_end" class="form-control input-sm datepicker-input" type="text" size="10" 
                                        data-date-format="yyyy-mm-dd" value="" placeholder="截至时间" />
                            </div>
                        </form>
                    </div>
                    
                    <div class="col-sm-3 m-b-xs">
                        <div class="input-group">
                            <input type="text" name="key" class="input-sm form-control" placeholder="案件编号/案件名称/简要案情/标签" />
                            <span class="input-group-btn">
                                <button class="btn btn-sm btn-default action-refresh" type="button">搜索</button>
                            </span>
                        </div>
                    </div>
                </div>
            </header>
            
            <section class="scrollable wrapper">
                <section class="panel panel-default">
                    <div class="table-responsive">
                        <table class="table table-striped m-b-sm datagrid" id="content_listing_archive">
                            <thead>
                            </thead>
                            <tfoot>
                                <tr>
                                    <th class="row">
                                        <div class="datagrid-footer-left col-sm-6 text-center-xs m-l-n" style="display:none;">
                                            <div class="grid-controls m-t-sm">
                                                <span>
                                                    <span class="grid-start"></span> -
                                                    <span class="grid-end"></span> （共
                                                    <span class="grid-count"></span>）
                                                </span>
                                                
                                                <div class="select grid-pagesize dropup" data-resize="auto">
                                                    <button data-toggle="dropdown" class="btn btn-sm btn-default dropdown-toggle">
                                                        <span class="dropdown-label" id="table_pagesize"></span>
                                                        <span class="caret"></span>
                                                    </button>
                                                    <ul class="dropdown-menu">
                                                        <li data-value="5"><a href="#">5</a></li>
                                                        <li data-value="15"><a href="#">15</a></li>
                                                        <li data-value="20" data-selected="true"><a href="#">20</a></li>
                                                        <li data-value="50"><a href="#">50</a></li>
                                                        <li data-value="100"><a href="#">100</a></li>
                                                    </ul>
                                                </div>
                                                <span>/页</span>
                                            </div>
                                        </div>
                                        
                                        <div class="datagrid-footer-right col-sm-6 text-right text-center-xs" style="display:none;">
                                            <div class="grid-pager m-r-n">
                                                <button type="button" class="btn btn-sm btn-default grid-prevpage"><i class="fa fa-chevron-left"></i></button>
                                                <!--<span>页</span>-->
                                                
                                                <div class="inline">
                                                    <div class="input-group dropdown combobox">
                                                        <input class="input-sm form-control" type="text" id="table_pageindex" />
                                                        <div class="input-group-btn dropup">
                                                            <button class="btn btn-sm btn-default" data-toggle="dropdown"><i class="caret"></i></button>
                                                            <ul class="dropdown-menu pull-right"></ul>
                                                        </div>
                                                    </div>
                                                </div>
                                                <span>/ <span class="grid-pages"></span></span>
                                                <button type="button" class="btn btn-sm btn-default grid-nextpage"><i class="fa fa-chevron-right"></i></button>
                                            </div>
                                        </div>
                                    </th>
                                </tr>
                            </tfoot>
                        </table>
                    </div>
                </section>
            </section>
        </section>
    </aside>
</section>

<!-- modal - 选择删除二次确认人 -->
<div class="modal fade" id="modal_select_confirm">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close close-modal" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title">选择二次确认人</h4>
            </div>
            <div class="modal-body panel-body">
                
                {foreach from=$users_confirm item=v}
                <div class="item-user text-center cursor-pointer" data-userid="{$v.userid}">
                    <div class="thumb-lg thumbnail item-user-img">
                        {if $v.avatar}
                        <img class="img-circle" src="{$v.avatar}" />
                        {else}
                        <img class="img-circle" src="/static/panel/img/avatar_default.jpg" />
                        {/if}
                    </div>
                    <div class="h5 m-b-xs text-center user-name">{if $v.fullname}{$v.fullname}{else}{$v.username}{/if}</div>
                </div>
                {/foreach}
                
            </div>
            <div class="modal-footer">
                <button type="button" id="submit_select_user" class="btn btn-s-md btn-primary">确定</button>
                <button type="button" class="btn btn-danger close-modal" data-dismiss="modal">取消</button>
                <input type="hidden" name="delete_archive_sn" value="" />
            </div>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>
<!-- / modal - 选择删除二次确认人 -->

{$wrapper_suffix|default}